package com.example.graduatetest.bean;

import androidx.annotation.NonNull;

public class Student {
    private String number;
    private String name;
    private String college;
    private String password;
    private String class_number;
    private String major;

    public String getName() {
        return name;
    }

    public String getCollege() {
        return college;
    }

    public String getNumber() {
        return number;
    }

    public String getMajor() {
        return major;
    }

    public String getClass_number() {
        return class_number;
    }

    public String getPassword() {
        return password;
    }

    public void setName(String name) {
        this.name = name;
    }

    public void setNumber(String number) {
        this.number = number;
    }

    public void setMajor(String major) {
        this.major = major;
    }

    public void setClass_number(String class_number) {
        this.class_number = class_number;
    }

    public void setCollege(String college) {
        this.college = college;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    @NonNull
    @Override
    public String toString() {
        return  number+":"+name+":"+college+":"+major;
    }
}
